package com.plan.dao.mapper.user;

import com.plan.entity.user.UserPackage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPackageMapper {
    int insert(UserPackage userPackage);

    int batchInsert(List<UserPackage> userPackages);

    int update(UserPackage userPackage);

    int delete(@Param("id") Long id);

    List<UserPackage> selectUserPackages(@Param("userId") Long userId);


}
